package com.example.hotelsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author Lee
 * @since 2020-10-13
 */
@Data
@ApiModel(value="Profit对象", description="")
public class Profit implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "角色id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "今日盈利金额")
    private double priceAmount;

    @ApiModelProperty(value = "今日新增用户数")
    private double userAmount;

    @ApiModelProperty(value = "日期")
    private Date day;

}
